Release 10.1A: OpenEdge Development:
Web Services


Running a non-persistent (external) procedure

The following example shows how you might invoke the sample FindCustomerByNum( ) method:

// Send a request to the AppServer to get the Customer Name 
StringHolder    custNameHolder = new StringHolder( ); 
orderInfo.findCustomerByNum(3, custNameHolder); 
System.out.println("Customer #3's name is " + custNameHolder.value); 

The object ID handler automatically inserts the orderInfo object ID into the SOAP request header.

StringHolder is one of several holder classes defined by Axis.


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095